class Person:
    def __init__(self, name, age):
        self.name = name         # 公有属性
        self._age = age          # 受保护属性

    def get_age(self):
        return self._age
p1 = Person('王鹤棣', 20)
print(p1.name)
print(p1._age)
